package com.nintendo;

import com.nintendo.entity.User;
import com.nintendo.mapper.UserDao;
import com.nintendo.service.UserDaoImpl;

import java.util.ArrayList;

public class UserTest {
    public static void main(String[] args) {
        UserDao userDao = new UserDaoImpl();
    //        userDao.add(new User(1,"是",18,1));
//       userDao.add(new User(1,"张三",18,1));
        User byId = userDao.findById(1);

    }
}
